package com.lh.tams.domain;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.lh.tams.util.diy.CustomDateSerializer;

/**
 * TamsMinLaw entity. @author MyEclipse Persistence Tools
 */

public class TamsMinLaw implements java.io.Serializable {

	// Fields

	private long idBgt;
	private TamsPerson tamsPerson;
	private TamsMaxLaw tamsMaxLaw;
	private Date createDate;
	private String lawContent;
	private String lawMinName;
	private int status;
	private String remark;

	// Constructors

	/** default constructor */
	public TamsMinLaw() {
	}

	/** minimal constructor */
	public TamsMinLaw(long idBgt) {
		this.idBgt = idBgt;
	}

	/** full constructor */
	public TamsMinLaw(long idBgt, TamsPerson tamsPerson, String lawNo,TamsMaxLaw tamsMaxLaw,
			String lawContent, int status, String remark,String lawMinName,Date createDate) {
		this.idBgt = idBgt;
		this.tamsPerson = tamsPerson;
		this.createDate = createDate;
		this.lawMinName = lawMinName;
		this.lawContent = lawContent;
		this.tamsMaxLaw = tamsMaxLaw;
		this.status = status;
		this.remark = remark;
	}

	// Property accessors

	public long getIdBgt() {
		return this.idBgt;
	}

	public void setIdBgt(long idBgt) {
		this.idBgt = idBgt;
	}

	public TamsPerson getTamsPerson() {
		return this.tamsPerson;
	}

	public void setTamsPerson(TamsPerson tamsPerson) {
		this.tamsPerson = tamsPerson;
	}

	public TamsMaxLaw getTamsMaxLaw() {
		return tamsMaxLaw;
	}

	public void setTamsMaxLaw(TamsMaxLaw tamsMaxLaw) {
		this.tamsMaxLaw = tamsMaxLaw;
	}
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getLawMinName() {
		return lawMinName;
	}

	public void setLawMinName(String lawMinName) {
		this.lawMinName = lawMinName;
	}

	public String getLawContent() {
		return this.lawContent;
	}

	public void setLawContent(String lawContent) {
		this.lawContent = lawContent;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}